package zsh.service;

import domain.Student;

import java.sql.SQLException;
import java.util.List;

public interface IService {
    List<Student> getStudents(Student student) throws SQLException;

    void addStudent(Student student) throws SQLException;
    void updateStudent(Student student) throws SQLException;
    void deleteStudent(int id) throws SQLException;}
